package cn.springBoot.util;

import lombok.Data;

/**
 * @author ljx
 * @description: TODO * Desc：序列参考点类 * ——可以添加更多入口和出口以提供更多选择和绘图的方式 *
 *               ——也可以添加更多的其他方面（是否是usertask，是否是网关，是否是会签等等）的参数或者新建类，去提供更多的绘图的变化的可能性
 * @class cn.springBoot.util.SequenceReferencePoints
 * @create date: 2021/10/9
 */
@Data
public class SequenceReferencePoints {

    // 左入口
    private double leftEntryX;
    private double leftEntryY;
    // 右入口
    private double rightEntryX;
    private double rightEntryY;
    // 上入口
    private double upperEntryX;
    private double upperEntryY;
    // 下入口
    private double lowerEntryX;
    private double lowerEntryY;

    // 左出口
    private double leftExitX;
    private double leftExitY;
    // 右出口
    private double rightExitX;
    private double rightExitY;
    // 上出口
    private double upperExitX;
    private double upperExitY;
    // 下出口
    private double lowerExitX;
    private double lowerExitY;

    // start和end使用这个就足够
    public SequenceReferencePoints(double leftEntryX, double leftEntryY, double rightExitX, double rightExitY) {
        this.leftEntryX = leftEntryX;
        this.leftEntryY = leftEntryY;
        this.rightExitX = rightExitX;
        this.rightExitY = rightExitY;
    }

    public SequenceReferencePoints(double leftEntryX, double leftEntryY, double rightEntryX, double rightEntryY,
        double upperEntryX, double upperEntryY, double lowerEntryX, double lowerEntryY, double leftExitX,
        double leftExitY, double rightExitX, double rightExitY, double upperExitX, double upperExitY, double lowerExitX,
        double lowerExitY) {
        this.leftEntryX = leftEntryX;
        this.leftEntryY = leftEntryY;
        this.rightEntryX = rightEntryX;
        this.rightEntryY = rightEntryY;
        this.upperEntryX = upperEntryX;
        this.upperEntryY = upperEntryY;
        this.lowerEntryX = lowerEntryX;
        this.lowerEntryY = lowerEntryY;
        this.leftExitX = leftExitX;
        this.leftExitY = leftExitY;
        this.rightExitX = rightExitX;
        this.rightExitY = rightExitY;
        this.upperExitX = upperExitX;
        this.upperExitY = upperExitY;
        this.lowerExitX = lowerExitX;
        this.lowerExitY = lowerExitY;
    }

}
